function createVM(selector,data,func) {
    var vue = new Vue({
        el:selector,
        delimiters: ['[[', ']]'],
        data:data,//基础数据
        methods:func(),
    })
    return vue
}